package cn.powerone.scm.service;

import java.util.List;
import cn.powerone.scm.domain.ScmOrderPayment;

/**
 * 付款Service接口
 * 
 * @author PowerOne
 * @date 2025-08-05
 */
public interface IScmOrderPaymentService 
{
    /**
     * 查询付款
     * 
     * @param id 付款主键
     * @return 付款
     */
    public ScmOrderPayment selectScmOrderPaymentById(Long id);

    /**
     * 查询付款列表
     * 
     * @param scmOrderPayment 付款
     * @return 付款集合
     */
    public List<ScmOrderPayment> selectScmOrderPaymentList(ScmOrderPayment scmOrderPayment);

    /**
     * 新增付款
     * 
     * @param scmOrderPayment 付款
     * @return 结果
     */
    public int insertScmOrderPayment(ScmOrderPayment scmOrderPayment);

    /**
     * 修改付款
     * 
     * @param scmOrderPayment 付款
     * @return 结果
     */
    public int updateScmOrderPayment(ScmOrderPayment scmOrderPayment);

    /**
     * 批量删除付款
     * 
     * @param ids 需要删除的付款主键集合
     * @return 结果
     */
    public int deleteScmOrderPaymentByIds(Long[] ids);

    /**
     * 删除付款信息
     * 
     * @param id 付款主键
     * @return 结果
     */
    public int deleteScmOrderPaymentById(Long id);
}
